var $ = jquery = layui.jquery;
var layer = layui.layer;
var upload =layui.upload;



$("body").on("click","#use_userTable .off",function(){
    layer.confirm('确认要将 <span class="blue">xxx</span> 设置为学校管理员吗？', {icon: 3, title:'提示'}, function(index){
        alert("点击了确认");
          layer.close(index);
        });
})

$("body").on("click","#use_userTable .on",function(){
    layer.confirm('确认要 <span class="red">取消</span> 用户 <span class="blue">xxx</span> 的学校管理权限吗？', {icon: 3, title:'提示'}, function(index){
        alert("点击了确认");
          layer.close(index);
        });
})


$("body").on("click","#use_userTable .del",function(){
    layer.confirm('确认要 <span class="red">禁用</span> 该用户账号吗？', {icon: 3, title:'提示'}, function(index){
        alert("点击了确认");
          layer.close(index);
        });
})

$("body").on("click","#use_userTable .reset",function(){
    layer.confirm('确认要 <span class="blue">重置</span> 该用户密码吗？</br>重置后密码为123456', {icon: 3, title:'提示'}, function(index){
        alert("点击了确认");
          layer.close(index);
        });
})
